<template>
  <div>
    <h2>{{title}}</h2>
    <slot></slot>
    <br>
    <slot name="lisi"></slot>
    <br>
    <slot name="lisi1">
        <p>默认内容</p>
    </slot>
  </div>
</template>

<script>
  export default {
    name:'MyChild',
    props:['title']
  }
</script>

<style scoped>
  
</style>